﻿using System.Text.RegularExpressions;
using System;

namespace WhySoSeries
{
    public class Episode
    {
        //TODO: 2 episodes in the same day
        public Season Season { get; set; }
        public string EpisodeName { get; set; }
        public int EpisodeNumber { get; set; }
        public DateTime? DateTime { get; set; }
        public bool IsNew { get; set; }

        public Episode(Season season, string episodeName, int episodeNumber, DateTime? dateTime)
        {
            EpisodeName = episodeName;
            EpisodeNumber = episodeNumber;
            DateTime = dateTime;
            Season = season;
        }

        public Episode(Season season, string episodeName, int episodeNumber, DateTime? dateTime, bool isNew)
        {
            Season = season;
            EpisodeName = episodeName;
            EpisodeNumber = episodeNumber;
            DateTime = dateTime;
            IsNew = isNew;
        }
    }
}
